<template>
  <div class="layout">
    <Sidebar></Sidebar>
    <div class="main-content">
      <Header></Header>
      <div class="content">
        <RouterView/>
      </div>
    </div>
  </div>
  <Footer></Footer>
</template>

<script setup>
import Header from "./components/Header.vue";
import Sidebar from "./components/Sidebar.vue";
import Footer from "./components/Footer.vue";
</script>

<style scoped>
.layout {
  display: flex;
}

.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.content {
  flex-grow: 1;
  padding: 20px;
}
</style>